﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IndexConrol.aspx.cs" Inherits="Portal.Web.Admin.Product.IndexConrol" %>

<table id="datagrid-product" title=" 产品列表"></table>
<script type="text/javascript">
    $(document).ready(function () {
        var tableUrl = 'Article/GetListJson.aspx';
        window.ProductTable = $('#datagrid-product').datagrid({
            url: tableUrl, columns: technologyconsultingColmns, onLoadSuccess: function () {
                $("span[name='jqeasyui-datagrid-product-edit']").click(function () {

                });
            }, toolbar: [{
                text: '添加',
                iconCls: 'icon-add',
                handler: function () {
                    ProductCreateWindows(ProductTable);
                }
            }, '-', {
                text: '删除',
                iconCls: 'icon-remove',
                handler: function () {
                    TableDeleteRecord(ProductTable, 'Product/Delete');
                }
            }, '-', {
                text: '查询',
                iconCls: 'icon-search',
                handler: function () {
                    ProductSearchWindows(ProductTable);
                }
            }]
        });
    });
</script>
